<div id="progress_indicator" style="display: none">
  <img src="/images/ajax-loader.gif" />
</div>

<div id="releases">

Showing: <%=h category %><br /><br />

<% releases.each do |release| %>
  <div class="release">

    <% if release.editions.first.primary_image.nil? %>
      <img src="/images/REDUX.jpg" alt="Artist Image" width="100" height="100" />
    <% else %>
      <%= image_tag release.editions.first.primary_image.url(:medium)  %>
    <% end %>

    <%= link_to release.title, release_edition_path(release, release.editions.first) %>
    <br />

    Songs:
    <br />

  </div>
<% end %>
</div>